<?phpclass UserBlogCommentEntityBase extends EntityBase{	public $id;		public $customerId;	public $blogId;		public $content;	public $status;	public $commentId;	public $createdDate;	public $modifiedDate;	const INACTIVE = 0;	const ACTIVE = 1;	const CANCELED = 2;	const DELETED = 4;	public function __construct($arrValue = null, $prefix = '')
	{
		if(!is_null($arrValue) && is_array($arrValue))
		{			$this->id = (int) ($arrValue[$prefix . 'id']);						$this->blogId = (int) ($arrValue[$prefix . 'blogId']);			$this->customerId = (int) ($arrValue[$prefix . 'customerId']);			$this->content = strval ($arrValue[$prefix . 'content']);			$this->status = (int) ($arrValue[$prefix . 'status']);			$this->commentId = (int) ($arrValue[$prefix . 'commentId']);			$this->createdDate = strval ($arrValue[$prefix . 'createdDate']);			$this->modifiedDate = strval ($arrValue[$prefix . 'modifiedDate']);		}
	}		/**	 * Get status name of gallery	 *	 * @access public	 *	 * @return string name of status	 *	 */	public function getStatusName()	{		if (is_null($this->status)){			return '';		}		if ($this->status == self::INACTIVE){			return 'Inactive';		}else if($this->status == self::ACTIVE){			return 'Active';		}else if($this->status == self::CANCELED){			return 'Canceled';		}else if($this->status == self::DELETED){			return 'Deleted';		}		// Return empty string		return '';	}	/**	 * Get list of gallery status	 *	 * @access public	 *	 * @return array of gallery status	 *	 */	public static function getStatusList()	{		return array(self::INACTIVE	=> 'Inactive',
    				self::ACTIVE 	=>'Active',    				self::CANCELED 	=>'Canceled',    				self::DELETED 	=>'Deleted'    				);	}		/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(						"{$alias}.id AS `{$prefix}id`",						"{$alias}.blogId AS `{$prefix}blogId`",						"{$alias}.customerId AS `{$prefix}customerId`",						"{$alias}.content AS `{$prefix}content`",						"{$alias}.status AS `{$prefix}status`",						"{$alias}.commentId AS `{$prefix}commentId`",						"{$alias}.createdDate AS `{$prefix}createdDate`",						"{$alias}.modifiedDate AS `{$prefix}modifiedDate`"						);		return implode(',', $arrValue);	}}